package com.itheima.job3;

public  class Clerk extends Employee {
    private Manager manager;

    public Clerk() {
    }

    @Override
    public void shwMsg(Clerk clerk, Manager manager) {
        System.out.println(clerk.getDept()+"的："+clerk.getName()+"，员工编号："+clerk.getId()+"他的经理是"+clerk.getManager().getName());
    }


    public Clerk(Manager manager) {
        this.manager = manager;
    }

    public Manager getManager() {
        return manager;
    }

    public void setManager(Manager manager) {
        this.manager = manager;
    }

}
